package com.pine.service.pineframework;

import com.pine.common.beans.pineframework.request.SysRoleMenuQueryRequest;
import com.pine.common.beans.pineframework.response.SysRoleMenuQueryResponse;
import com.pine.common.beans.request.IdRequest;
import com.pine.service.core.QueryService;

import java.util.List;

/**
 * <p>
 * 角色菜单表 服务类
 * </p>
 *
 * @author pine manage
 * @since 2024-08-12
 */
public interface SysRoleMenuService extends QueryService<SysRoleMenuQueryRequest, SysRoleMenuQueryResponse> {

    /**
     * 根据角色ID获取菜单ID集合
     *
     * @param request 请求体
     * @return 响应
     */
    List<Long> getMenuIdsByRoleId(IdRequest<Long> request);
}

